<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>5css元素显示模式</title>


  <style>
    a {
      color: #000;
      width: 200px;
      height: 80px;
      line-height: 80px;
      background: pink;
      display: block;
      text-decoration: none;
      text-indent: 4em;
    }
    div {
      background-color: red;
      width: 200px;
      height: 50px;
      display: inline;
    }
  </style>
</head>

<body>

  <a href="#">金星阿姨</a>

  <div>我是块级元素</div>
  
</body>
</html>